var environment = 'test' // test:开发环境 wuhanTest：公安网测试环境;
var typeUrl = 'pack' // 连接生产环境 打包环境
// var typeUrl = 'localhost' // 连接后台工程师环境

var baseURL, mapSomeURL, mapServer, mapFeatureServerBase, g_centerPoint, dojoURL, cssURL, mapFeatureServer

switch (environment) {
  case 'test':
    baseURL = 'http://172.16.3.30:10014/'
    mapSomeURL = 'http://172.16.3.127:8080/'
    mapServer = 'http://172.16.3.137:6080/ArcGIS/rest/services/WuhanService/MapServer'
    mapFeatureServerBase = 'http://172.16.3.137:6080/arcgis/rest/services/HCZZFeature1/'
    g_centerPoint = [114.21868761726246, 30.584733852070247]
    break
  case 'wuhanTest':
    baseURL = 'http://10.73.200.165:10014/'
    mapSomeURL = 'http://10.73.200.56:8080/'
    mapServer = 'http://10.73.95.153/whgaj_gis_gissite3/services/whmap_201802/MapServer'
    mapFeatureServerBase = 'http://59.39.4.11:6080/arcgis/rest/services/HCZZFeature/'
    g_centerPoint = [114.21868761726246, 30.584733852070247]
    break
}

dojoURL = mapSomeURL + 'api47/arcgis_js_api/library/4.7/dojo/dojo.js'
cssURL = mapSomeURL + 'api47/arcgis_js_api/library/4.7/esri/css/main.css'
mapFeatureServer = mapFeatureServerBase + 'FeatureServer/'
